package request

type AlibabaSscSupplyplatformServiceabilityDeleteRequest struct {
	/*
	   服务提供者类型。service_store 网点；worker 工人；supplier 服务商     */
	ProviderType *string `json:"provider_type" required:"true" `
	/*
	   服务提供者id。根据服务提供者类型填写相应的id，例如类型是网点，则填我们系统的网点id     */
	ProviderId *int64 `json:"provider_id" required:"true" `
}

func (s *AlibabaSscSupplyplatformServiceabilityDeleteRequest) SetProviderType(v string) *AlibabaSscSupplyplatformServiceabilityDeleteRequest {
	s.ProviderType = &v
	return s
}
func (s *AlibabaSscSupplyplatformServiceabilityDeleteRequest) SetProviderId(v int64) *AlibabaSscSupplyplatformServiceabilityDeleteRequest {
	s.ProviderId = &v
	return s
}

func (req *AlibabaSscSupplyplatformServiceabilityDeleteRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ProviderType != nil {
		paramMap["provider_type"] = *req.ProviderType
	}
	if req.ProviderId != nil {
		paramMap["provider_id"] = *req.ProviderId
	}
	return paramMap
}

func (req *AlibabaSscSupplyplatformServiceabilityDeleteRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
